package com.wcity.manage.service.community.workguide;

import com.wcity.manage.common.vo.community.workguide.WorkGuideVo;
import com.wcity.manage.dao.model.community.workguide.WorkGuide;

import java.util.List;
import java.util.Map;

/**
 * 办事指南
 * Created by hgg on 2016/12/20.
 */
public interface WorkGuideService {

    /**
     * 办事指南列表
     * @param queryMap
     * @return
     */
    public List<WorkGuideVo> workGuidePageList( Map<String,Object> queryMap );

    /**
     * 删除办事指南
     * @param deleteMap
     * @return
     */
    public Integer deleteWorkGuide( Map<String,Object> deleteMap );

    /**
     * 新增办事指南
     * @param workGuide
     * @return
     */
    public Integer saveAddWorkGuide( WorkGuide workGuide,String blockIdStr,String imgUrl );

    /**
     * 更新办事指南
     * @param workGuide
     * @return
     */
    public Integer saveUpdateWorkGuide( WorkGuide workGuide,String blockIdStr,String imageUrl );

    /**
     * 办事指南详情
     * @param detailMap
     * @return
     */
    public WorkGuideVo workGuideDetail( Map<String,Object> detailMap );

    /**
     * 办事指南总数量
     * @param queryMap
     * @return
     */
    public Integer totalWorkGuide( Map<String,Object> queryMap );

    /**
     * 办事指南列表非分页
     * @param queryMap
     * @return
     */
    public List<WorkGuideVo> workGuideList( Map<String,Object> queryMap );

    /**
     * 查询小区ID拼接（1,2,3）
     * @param queryMap
     * @return
     */
    public String blockIds( Map<String,Object> queryMap );
}
